<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
     <script>
         function buyJi() {
             let num=0;
             for(let a=0;a<=100;a++){
                 for(let b=0;b<=100;b++){
                     for(let c=0;c<=100;c++){
                         if(a*5+b*3+c*(1/3)==100&&a+b+c==100){
                             num++;
                         }
                     }
                 }
             }
             console.log(num);
             return num;
         }



     </script>
</head>
<body>
<input type="button" onclick="alert(buyJi())" value="买鸡">
</body>
</html>